<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>直播</title>
    <link href="media/video-js.css" rel="stylesheet">
    <script src="media/video.min.js"></script>
</head>
<body>
<video id="example_video_1" class="video-js vjs-default-skin"
       controls preload="auto" width="1280" height="720" poster="http://vjs.zencdn.net/v/oceans.png" data-setup="{}">
</video>
<script>
    //videojs.options.flash.swf = 'https://cdn.bootcss.com/videojs-swf/5.4.1/video-js.swf';
    var player = videojs('example_video_1'); //my-player为页面video元素的id
    player.src({
        type: 'rtmp/flv',
        src: 'rtmp://localhost:1935/live/backup_CHRV074AC'
    });
    player.load();
    player.play(); //播放
</script>
</body>
<!--<script src="http://vjs.zencdn.net/5.20.1/video.js"></script>-->
</html>